package com.yunkaweilai.android.model.integral;

import java.util.List;

/**
 * Created by Administrator on 2017/9/14.
 */

public class IntegralSearchModel {

    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"goodsList":[{"id":"24","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"隔离霜","category_id":"7","gift_sku":"LP217743308304","gift_code":"GLS","points_price":"99","gift_stock":"113","use_gift_stock":"2","validity_start":"2017-08-30","validity_end":"2017-12-31","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1504077450","gift_category_name":"彩妆","is_expired":1,"is_edit":true,"selected":true},{"id":"23","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"创意水杯","category_id":"14","gift_sku":"LP2017082949","gift_code":"CYSB","points_price":"750","gift_stock":"29","use_gift_stock":"0","validity_start":"2017-08-29","validity_end":"2018-02-28","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1503991176","gift_category_name":"日用品","is_expired":1,"is_edit":true,"selected":true},{"id":"22","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"爽肤水","category_id":"3","gift_sku":"LP2017082925","gift_code":"SFS","points_price":"320","gift_stock":"158","use_gift_stock":"0","validity_start":"2017-08-29","validity_end":"2018-08-29","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1503991057","gift_category_name":"补水套装","is_expired":1,"is_edit":true,"selected":true},{"id":"16","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"口红","category_id":"7","gift_sku":"LP2017070544","gift_code":"KH","points_price":"80","gift_stock":"89","use_gift_stock":"0","validity_start":"2017-07-05","validity_end":"2017-11-01","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1499224442","gift_category_name":"彩妆","is_expired":1,"is_edit":true,"selected":true},{"id":"12","is_first":"0","store_id":"4","sub_store_id":"5","gift_name":"面膜","category_id":"3","gift_sku":"LP201706020","gift_code":"MM","points_price":"222","gift_stock":"104","use_gift_stock":"7","validity_start":"2017-06-01","validity_end":"2017-11-30","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1496368414","gift_category_name":"补水套装","is_expired":1,"is_edit":true,"selected":true}],"goodsCount":5}
     */

    private int loginCode;
    private int code;
    private String message;
    /**
     * goodsList : [{"id":"24","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"隔离霜","category_id":"7","gift_sku":"LP217743308304","gift_code":"GLS","points_price":"99","gift_stock":"113","use_gift_stock":"2","validity_start":"2017-08-30","validity_end":"2017-12-31","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1504077450","gift_category_name":"彩妆","is_expired":1,"is_edit":true,"selected":true},{"id":"23","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"创意水杯","category_id":"14","gift_sku":"LP2017082949","gift_code":"CYSB","points_price":"750","gift_stock":"29","use_gift_stock":"0","validity_start":"2017-08-29","validity_end":"2018-02-28","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1503991176","gift_category_name":"日用品","is_expired":1,"is_edit":true,"selected":true},{"id":"22","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"爽肤水","category_id":"3","gift_sku":"LP2017082925","gift_code":"SFS","points_price":"320","gift_stock":"158","use_gift_stock":"0","validity_start":"2017-08-29","validity_end":"2018-08-29","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1503991057","gift_category_name":"补水套装","is_expired":1,"is_edit":true,"selected":true},{"id":"16","is_first":"1","store_id":"4","sub_store_id":"5","gift_name":"口红","category_id":"7","gift_sku":"LP2017070544","gift_code":"KH","points_price":"80","gift_stock":"89","use_gift_stock":"0","validity_start":"2017-07-05","validity_end":"2017-11-01","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1499224442","gift_category_name":"彩妆","is_expired":1,"is_edit":true,"selected":true},{"id":"12","is_first":"0","store_id":"4","sub_store_id":"5","gift_name":"面膜","category_id":"3","gift_sku":"LP201706020","gift_code":"MM","points_price":"222","gift_stock":"104","use_gift_stock":"7","validity_start":"2017-06-01","validity_end":"2017-11-30","is_app":"1","remark":"","sort":"0","status":"1","create_id":"8","create_name":"admin","create_time":"1496368414","gift_category_name":"补水套装","is_expired":1,"is_edit":true,"selected":true}]
     * goodsCount : 5
     */

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int goodsCount;
        /**
         * id : 24
         * is_first : 1
         * store_id : 4
         * sub_store_id : 5
         * gift_name : 隔离霜
         * category_id : 7
         * gift_sku : LP217743308304
         * gift_code : GLS
         * points_price : 99
         * gift_stock : 113
         * use_gift_stock : 2
         * validity_start : 2017-08-30
         * validity_end : 2017-12-31
         * is_app : 1
         * remark :
         * sort : 0
         * status : 1
         * create_id : 8
         * create_name : admin
         * create_time : 1504077450
         * gift_category_name : 彩妆
         * is_expired : 1
         * is_edit : true
         * selected : true
         */

        private List<IntegralGoodListModel> goodsList;
        private List<IntegralGoodListModel> list;

        public int getGoodsCount() {
            return goodsCount;
        }

        public void setGoodsCount(int goodsCount) {
            this.goodsCount = goodsCount;
        }

        public List<IntegralGoodListModel> getList() {
            return list;
        }

        public void setList(List<IntegralGoodListModel> list) {
            this.list = list;
        }

        public List<IntegralGoodListModel> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<IntegralGoodListModel> goodsList) {
            this.goodsList = goodsList;
        }

    }
}
